package model;

import java.io.Serializable;
import java.sql.Date;

import com.sun.xml.internal.ws.api.config.management.policy.ManagementAssertion.Setting;

public class  LeaveDTO implements Serializable {
	private static final long serialVersionUID = 1L;
	private int leaveID;
	private int employeeID;
	private String firstName;
	private String surName;
	private int leaveTypeID;
	
	private Date startDate;
	private Date endDate;
	private double leavePeriod;
	private String reason;
	private int workdissmenition;
	private String contactDetail;
	private String status;
	private String comment;
	private int createBy;
	private Date createDate;
	private int modifiedBy;
	private Date modifiedDate;

	public int getLeaveID() {
		return leaveID;
	}
	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	
	public String getSurName() {
		return surName;
	}
	public void setSurName(String surName) {
		this.surName = surName;
	}
	public void setLeaveID(int leaveID) {
		this.leaveID = leaveID;
	}

	public int getEmployeeID() {
		return employeeID;

		
	}

	public void setEmployeeID(int employeeID) {
		this.employeeID = employeeID;
	}

	public int getLeaveTypeID() {
		return leaveTypeID;
	}

	public void setLeaveTypeID(int leaveTypeID) {
		this.leaveTypeID = leaveTypeID;
	}

	public Date getStartDate() {
		return startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public double getLeavePeriod() {
		return leavePeriod;
	}

	public void setLeavePeriod(double leavePeriod) {
		this.leavePeriod = leavePeriod;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public int getWorkdissmenition() {
		return workdissmenition;
	}

	public void setWorkdissmenition(int workdissmenition) {
		this.workdissmenition = workdissmenition;
	}

	public String getContactDetail() {
		return contactDetail;
	}

	public void setContactDetail(String contactDetail) {
		this.contactDetail = contactDetail;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public int getCreateBy() {
		return createBy;
	}

	public void setCreateBy(int createBy) {
		this.createBy = createBy;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public int getModifiedBy() {
		return modifiedBy;
	}

	public void setModifiedBy(int modifiedBy) {
		this.modifiedBy = modifiedBy;
	}

	public Date getModifiedDate() {
		return modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}

	@Override
	public String toString() {
		return "LeaveDTO [leaveID=" + leaveID + ", emloyeeID=" + employeeID+ ",firsName=" + firstName +",surName="+ surName
				+ ", leaveTypeID=" + leaveTypeID + ", startDate=" + startDate
				+ ", endDate=" + endDate + ", leavePeriod=" + leavePeriod
				+ ", reason=" + reason + ", workdissmenition="
				+ workdissmenition + ", contactDetail=" + contactDetail
				+ ", status=" + status + ", comment=" + comment + ", createBy="
				+ createBy + ", createDate=" + createDate + ", modifiedBy="
				+ modifiedBy + ", modifiedDate=" + modifiedDate + "]";
	}
	
	
}
